<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 {% block htmlExtraAttrs %}
 {% endblock %}
 >
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>
  {% block title %}
  instafeed
  {% endblock %}
    </title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="/media/css/style.css"/>
  {% block extrahead %}
  {% endblock %}
</head>

<body
  {% block bodyAttrs %}
  {% endblock %}
  >
{% block extra_body %}
{% endblock %}

	<div id="principal">

    	<div id="cabecera">

            <div id="cabecera_sup">

                <div class="logo">
                	<a href="/" title="Instafeed">
                    	<img src="/media/images/logo.png" alt="Instafeed Logo" />
                    </a>
                </div> <!-- FIN: #logo -->

                <div class="menu">
{% if user.is_authenticated %}

                	<a href="{% url socialauth_social_logout %}" title="Logout">
                    	Logout
                    </a>
{% else %}
                	<a href="{% url socialauth_login_page %}" title="Login">
                    	Login
                    </a>
{% endif %}
                    <a href="#" title="">
                    	Help
                    </a>
                    <a href="#" title="">
                    	Instafeed
                    </a>
                </div> <!-- FIN: #menu -->

                {% block extra_cabecera_sup %}
                {% endblock %}
            </div> <!-- FIN: #cabecera_sup -->

                {% block extra_cabecera %}
                {% endblock %}

        </div> <!-- FIN: #cabecera -->

        <div id="contenido">
            {% block main_content %}
        	<!-- TEMP -->
        	<br /><br /><br /><br /><br /><br /><br /><br /><br />
            {% endblock %}
        </div> <!-- FIN: #contenido -->

        <div id="pie">
        	<a href="#" title="">Terms &amp; Conditions</a>
            &nbsp;-&nbsp;
            <a href="#" title="">Privacy Policy</a>
            &nbsp;-&nbsp;
            <a href="#" title="">Help</a>
            &nbsp;-&nbsp;
            Powered by <a href="http://www.djangoproject.com/" target="_blank">Django</a> and <a href="http://github.com/uswaretech/Django-Socialauth" target="_blank">django-socialauth</a>
        </div> <!-- FIN: #pie -->

    </div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4967259-10");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>
